import {customeStruct} from '../utils';

const itf = customeStruct.interface;

export const ListData = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
            rowVersion: 'string'
        }))],
        totalElements: 'number'
    })
});

export const DetailData = itf({
    payload: itf({
        id: 'string',
        rowVersion: 'string',
    })
});
